<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Breakeven 
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20130509
-->

<?php
session_start();  
if (!isset($_SESSION['login'])) { 
   header ('Location: ../index.html'); 
   exit();  
}  
?>



<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>EASY-Immo</title>
	
	<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600" rel="stylesheet" type="text/css" />
	<link href='http://fonts.googleapis.com/css?family=Abel|Satisfy' rel='stylesheet' type='text/css'>
	<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="stylesheet" href="style-tableau.css" />
	
	<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
	<script type='text/javascript' src='../menu_jquery.js'></script>

	
	<script type='text/javascript'>
		function ActionSelect(Objet){
			
			var val = Objet.value.toUpperCase();
			var res = str.split(":"); 
			
			var action = res[0];
			var itemID = res[1];
			
			var module = "TypePieces";
			var rel1 = "CONTRATS";
			var rel2 = "LOGEMENTS";
			var rel3 = "DOCUMENTS";
			var rel4 = "VERSEMENTS";
			
			var dest;
			switch(val){
				case "EDIT" :
					dest= "edit" + module + ".php?item="+ item;
					break;
				case "DELETE" :
					dest= "delete" + module + ".php?item="+ item;
					break;
				case "VIEW" :
					dest= "view" + module + ".php?item="+ item;
					break;
				case rel1 :
					dest= rel1.toLowerCase() + ".php?item="+ item ;
					break;
				case rel2 :
					dest= rel2.toLowerCase() + ".php?item="+ item;
					break;
				case rel3 :
					dest= rel3.toLowerCase() + ".php?item="+ item;
					break;
				case rel4 :
					dest= rel4.toLowerCase() + ".php?item="+ item;
					break;					
				default:
					return false;
			}*/
			window.location = dest;
		}
	</script>	
</head>
	<body>
		<div id="wrapper">
			<!-- ==================================== HEADER ================================================== -->
			<div id="header-wrapper">
				<div id="header" class="container">
					<div id="logo">
						<h1><a href="index.html"><strong>EASY-Immo</strong></a></h1>
					</div>
					<div id="menu">
						<ul>
							<li class="current_page_item"><a href="membre.php">Bureau</a></li>
							<li><a href="membre.php">Administration</a></li>
							<li><a href="../deconnexion.php">Deconnexion</a></li>
						</ul>
					</div>
				</div>
			</div>
			<!-- end #header -->
			<!-- ============================================================================================= -->

			<div id="page">
				<h3>Bienvenue <?php echo " ".htmlentities(trim($_SESSION['login']))." "; ?>!</h3><br />
				Vous ête ici : <a href="membre.php">Données de réferences</a> / <a href="pieces.php">Types de pièces</a>
				
				<br><br><br>
				
				<table>
					<tr>
						<td valign="top">
							<div id='cssmenu'>
								<ul>
								   <li><span></span></li>
								   <li class='has-sub'><a href='#'><span>Données de réferences</span></a>
									  <ul>
										 <li><a href='pieces.php'><span>Types de pièces</span></a></li>
										 <li><a href='#'><span>Types de documents</span></a></li>
										 <li><a href='#'><span>Types de comptes</span></a></li>
										 <li><a href='#'><span>Types de travaux</span></a></li>
										 <li><a href='#'><span>Parcelles</span></a></li>
										 <li><a href='#'><span>Contrats</span></a></li>
										 <li class='last'><a href='#'><span>Logements</span></a></li>
									  </ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Locataires</span></a>
									  <ul>
											<li><a href='#'><span>Nouveau locataire</span></a></li>
											<li class='last'><a href='#'><span>Afficher les locataires</span></a></li>
									  </ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Documents</span></a>								  
										<ul>
											<li><a href='#'><span>Afficher les documents</span></a></li>
											<li><a href='#'><span>Scanner un document</span></a></li>
											<li><a href='#'><span>Afficher les quittances</span></a></li>
											<li><a href='#'><span>Enregistrer une facture</span></a></li>
											<li><a href='#'><span>Créer une quittance</span></a></li>
											<li class='last'><a href='#'><span>Imprimer un document</span></a></li>
										</ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Maintenance</span></a>
									  <ul>
											<li><a href='#'><span>Afficher les maintenances</span></a></li>
											<li><a href='#'><span>Consulter les états des lieux</span></a></li>
											<li class='last'><a href='#'><span>Planifier des travaux</span></a></li>
									  </ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Finance</span></a>
									  <ul>
											<li><a href='#'><span>Suivi budget</span></a></li>								  
											<li><a href='#'><span>Budgetisation</span></a></li>
											<li><a href='#'><span>Consommation energetique</span></a></li>
											<li><a href='#'><span>Mouvement ponctuel</span></a></li>
											<li><a href='#'><span>Planifier un mouvement</span></a></li>
											<li class='last'><a href='#'><span>Générer le bilan</span></a></li>
									  </ul>							   
								   </li>							   
								   <li class='has-sub'><a href='#'><span>Comptabilité</span></a>
									  <ul>
											<li><a href='#'><span>Créer un compte</span></a></li>									  
											<li><a href='#'><span>Consulter les comptes</span></a></li>
											<li><a href='#'><span>Consulter les cautions</span></a></li>
											<li><a href='#'><span>Afficher les versements</span></a></li>
											<li><a href='#'><span>Suivre les versements</span></a></li>
											<li><a href='#'><span>Enregistrer un versement</span></a></li>
											<li><a href='#'><span>Enregistrer une dépense</span></a></li>
											<li><a href='#'><span>Déclaration fiscale</span></a></li>
											<li class='last'><a href='#'><span>Planifier des versements</span></a></li>
									  </ul>							   
								   </li>
								   <li class='has-sub'><a href='#'><span>Sécurité</span></a>
									  <ul>
										 <li><a href='#'><span>Droits</span></a></li>
										 <li><a href='#'><span>Roles</span></a></li>
										 <li><a href='#'><span>Profils</span></a></li>
										 <li class='last'><a href='#'><span>Utilisateurs</span></a></li>
									  </ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Rechercher</span></a>
									  <ul>
										 <li><a href='#'><span>Rechercher un compte</span></a></li>
										 <li><a href='#'><span>Rechercher un contrat</span></a></li>
										 <li><a href='#'><span>Rechercher un versement</span></a></li>
										 <li><a href='#'><span>Rechercher un document</span></a></li>
										 <li class='last'><a href='#'><span>Rechercher un locataire</span></a></li>
									  </ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Rapport</span></a>
									  <ul>
										 <li><a href='#'><span>Consulter le journal</span></a></li>
										 <li><a href='#'><span>Consommation Eau</span></a></li>
										 <li><a href='#'><span>Consommation Electricité</span></a></li>
										 <li class='last'><a href='#'><span>Exporter un rapport</span></a></li>
									  </ul>
								   </li>
								   <li class='has-sub'><a href='#'><span>Alertes</span></a>
									  <ul>
										 <li><a href='#'><span>Afficher les alertes</span></a></li>
										 <li class='last'><a href='#'><span>Créer une alerte</span></a></li>
									  </ul>	
								   </li>
								   <li class='last'><span></span></li>
								</ul>
							</div>										
						</td>
						<td width="1000" align="right" valign="top">
							<div align="left">
								<table border="0" width="750" style="margin:0 auto 15px">
									<tr>
										<td>
											<input class="btn" type="button" onclick="window.location='membre.php';" value="Creer un type"/>
										</td>
									</tr>
								</table>
							</div >
								
							<div>
								<table cellpadding="0" cellspacing="0" border="0" id="table" class="sortable">
									<thead>
										<tr bgcolor="#A50810">
											<th><h3>ID</h3></font></th>
											<th><h3>Name</h3></font></th>
											<th><h3>Phone</h3></th>
											<th><h3>Email</h3></th>
											<th><h3>Zip</h3></th>
											<th><h3>Birthdate</h3></th>
											<th colspan="4"><h3>Action</h3></th>
										</tr>
									</thead>
									<tbody>
										<tr  align="left">
											<td>1</td>
											<td>Ezekiel Hart</td>
											<td>(627) 536-4760</td>
											<td><a href="mailto:#">tortor@est.ca</a></td>
											<td>53082</td>
											<td>12/02/1962</td>
											<td colspan="4">
												<FORM METHOD="GET" name="action">
													<SELECT NAME="cond2" SIZE=1 onchange="ActionSelect(this)">
														<OPTION  VALUE="view:1">Afficher</OPTION>
														<OPTION  VALUE="edit:1">Modifier</OPTION>
														<OPTION  VALUE="delete:1">Supprimer</OPTION>
														<OPTION  VALUE="logement:1">Voir les logements</OPTION>
														<OPTION  VALUE="contrat:1">Voir les contrats</OPTION>
														<OPTION  VALUE="versement:1">Voir les versements</OPTION>
														<OPTION  VALUE="document:1">Voir les documents</OPTION>
													</SELECT>
												</FORM>											
											</td>
										</tr align="left">
										<tr align="left">
											<td>2</td>
											<td>Jaquelyn Pace</td>
											<td>(921) 943-5780</td>
											<td><a href="mailto:#">in@elementum.org</a></td>
											<td>46789</td>
											<td>06/03/1957</td>
											<td colspan="4">
												<FORM METHOD="GET" name="action">
													<SELECT NAME="cond2" SIZE=1 onchange="ActionSelect(this)">
														<OPTION  VALUE="view:2">Afficher</OPTION>
														<OPTION  VALUE="edit:2">Modifier</OPTION>
														<OPTION  VALUE="delete:2">Supprimer</OPTION>
														<OPTION  VALUE="logement:2">Voir les logements</OPTION>
														<OPTION  VALUE="contrat:2">Voir les contrats</OPTION>
														<OPTION  VALUE="versement:2">Voir les versements</OPTION>
														<OPTION  VALUE="document:2">Voir les documents</OPTION>
													</SELECT>
												</FORM>											
											</td>	
										</tr>
										<tr align="left">
											<td>3</td>
											<td>Lois Pickett</td>
											<td>(835) 361-5993</td>
											<td><a href="mailto:#">arcu.ac@disse.ca</a></td>
											<td>9814</td>
											<td>10/15/1983</td>
											<td colspan="4">
												<FORM METHOD="GET" name="action">
													<SELECT NAME="cond2" SIZE=1 onchange="ActionSelect(this)">
														<OPTION  VALUE="view:3">Afficher</OPTION>
														<OPTION  VALUE="edit:3">Modifier</OPTION>
														<OPTION  VALUE="delete:3">Supprimer</OPTION>
														<OPTION  VALUE="logement:3">Voir les logements</OPTION>
														<OPTION  VALUE="contrat:3">Voir les contrats</OPTION>
														<OPTION  VALUE="versement:3">Voir les versements</OPTION>
														<OPTION  VALUE="document:3">Voir les documents</OPTION>
													</SELECT>
												</FORM>											
											</td>	
										</tr>
										<tr align="left">
											<td>4</td>
											<td>Keane Raymond</td>
											<td>(605) 803-1561</td>
											<td><a href="mailto:#">at.risus.Nunc@ipsum.com</a></td>
											<td>97129</td>
											<td>07/30/1982</td>
											<td colspan="4">
												<FORM METHOD="GET" name="action">
													<SELECT NAME="cond2" SIZE=1 onchange="ActionSelect(this)">
														<OPTION  VALUE="view:4">Afficher</OPTION>
														<OPTION  VALUE="edit:4">Modifier</OPTION>
														<OPTION  VALUE="delete:4">Supprimer</OPTION>
														<OPTION  VALUE="logement:4">Voir les logements</OPTION>
														<OPTION  VALUE="contrat:4">Voir les contrats</OPTION>
														<OPTION  VALUE="versement:4">Voir les versements</OPTION>
														<OPTION  VALUE="document:4">Voir les documents</OPTION>
													</SELECT>
												</FORM>											
											</td>
										</tr>
										<tr align="left">
											<td>5</td>
											<td>Porter Thomas</td>
											<td>(666) 569-9894</td>
											<td><a href="mailto:#">non@Proin.ca</a></td>
											<td>59953</td>
											<td>09/27/1986</td>
											<td colspan="4">
												<FORM METHOD="GET" name="action">
													<SELECT NAME="cond2" SIZE=1 onchange="window.location='membre.php';">
														<OPTION  VALUE="view:5">Afficher</OPTION>
														<OPTION  VALUE="edit:5">Modifier</OPTION>
														<OPTION  VALUE="delete:5">Supprimer</OPTION>
														<OPTION  VALUE="logement:5">Voir les logements</OPTION>
														<OPTION  VALUE="contrat:5">Voir les contrats</OPTION>
														<OPTION  VALUE="versement:5">Voir les versements</OPTION>
														<OPTION  VALUE="document:5">Voir les documents</OPTION>
													</SELECT>
												</FORM>											
											</td>	
										</tr>
										<tr align="left">
											<td>6</td>
											<td>Imani Murphy</td>
											<td>(771) 294-6690</td>
											<td><a href="mailto:#">Aenean.sed@elit.ca</a></td>
											<td>69771</td>
											<td>10/23/1970</td>
											<td colspan="4">
												<FORM METHOD="GET" name="action">
													<SELECT NAME="cond2" SIZE=1 onchange="ActionSelect(this)">
														<OPTION  VALUE="view:6">Afficher</OPTION>
														<OPTION  VALUE="edit:6">Modifier</OPTION>
														<OPTION  VALUE="delete:6">Supprimer</OPTION>
														<OPTION  VALUE="logement:6">Voir les logements</OPTION>
														<OPTION  VALUE="contrat:6">Voir les contrats</OPTION>
														<OPTION  VALUE="versement:6">Voir les versements</OPTION>
														<OPTION  VALUE="document:6">Voir les documents</OPTION>
													</SELECT>
												</FORM>											
											</td>
										</tr>
									</tbody>
								</table>
								<div id="controls">
									<div id="perpage">
										<select onchange="sorter.size(this.value)">
										<option value="5">5</option>
											<option value="10" selected="selected">10</option>
											<option value="20">20</option>
											<option value="50">50</option>
											<option value="100">100</option>
										</select>
										<span>Nombre de ligne par page</span>
									</div>
									<div id="navigation">
										<img src="images/first.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1,true)" />
										<img src="images/previous.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1)" />
										<img src="images/next.gif" width="16" height="16" alt="First Page" onclick="sorter.move(1)" />
										<img src="images/last.gif" width="16" height="16" alt="Last Page" onclick="sorter.move(1,true)" />
									</div>
									<div id="text">Displaying Page <span id="currentpage"></span> of <span id="pagelimit"></span></div>
								</div>
								<script type="text/javascript" src="script.js"></script>
								<script type="text/javascript">
									var sorter = new TINY.table.sorter("sorter");
									sorter.head = "head";
									sorter.asc = "asc";
									sorter.desc = "desc";
									sorter.even = "evenrow";
									sorter.odd = "oddrow";
									sorter.evensel = "evenselected";
									sorter.oddsel = "oddselected";
									sorter.paginate = true;
									sorter.currentid = "currentpage";
									sorter.limitid = "pagelimit";
									sorter.init("table",1);
								</script>
							</div>									
						</td>
					</tr>
				</table>
				<div style="clear: both; float: none; height: 0;"></div>		
				<!-- end #content -->			
			</div>
			<!-- end #page --> 
		</div>
		<br><br><br><br><br><br><br><br><br>
		<div id="footer">
			<p>Copyright (c) 2013 easy-immo.com. All rights reserved.</p>
		</div>
		<!-- end #footer -->
	</body>
</html>
